<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2018/8/7
  Time: 10:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<style>


    #one{
        background-color: white;
        border-color: white;
        line-height: 30px;
        font-size: 25px;
        font-family: "宋体"

    }
</style>
<body ><div class="x-body">
    <form class="layui-form" action="AddappServlet"method="post">
        <!-->
        <div class="layui-form-item">
            <label for="userName" class="layui-form-label">
                <span class="x-red">*</span>客户名字
            </label>
            <div class="layui-input-inline">
                <input type="text" id="userName" name="userName" required="" class="layui-input">
            </div>
        </div>
        <!-->

        <div class="layui-form-item">
            <label for="userPhone" class="layui-form-label">
                <span class="x-red">*</span>联系电话
            </label>
            <div class="layui-input-inline">
                <input type="text" id="userPhone" name="userPhone" required="" class="layui-input">
            </div>
        </div>
        <!-->

        <div class="layui-form-item">
            <label for="userAddress" class="layui-form-label">
                <span class="x-red">*</span>详细的地址
            </label>
            <div class="layui-input-inline">
                <input type="text" id="userAddress" name="userAddress" required="" class="layui-input">
            </div>
        </div>
        <!-->

        <div class="layui-form-item">
            <label for="workType" class="layui-form-label">
                <span class="x-red">*</span>工单状态
            </label>
            <div class="layui-input-inline">

                <select id="workType" name="workType" required="" class="layui-input">
                    <option value="1">安装工单</option>
                    <option value="2">滤芯更换工单</option>
                    <option value="3">故障</option>
                    <option value="3">移机</option>
                </select>
            </div>
        </div>
        <!-->


        <div class="layui-form-item">
            <label for="status" class="layui-form-label">
                <span class="x-red">*</span>处理状态
            </label>
            <div class="layui-input-inline">
                <select id="status" name="status" required="" class="layui-input">
                    <option value="1" selected="selected">待处理</option>
                    <option value="2" >处理中</option>
                    <option value="3">已处理</option>
                </select>
            </div>
        </div>
        <!-->

        <div class="layui-form-item">
            <label for="waterName" class="layui-form-label">
                <span class="x-red">*</span>净水器名称
            </label>
            <div class="layui-input-inline">
                <select id="waterName" name="waterName" required="" class="layui-input">
                    <c:forEach var="p" items="${procd}">
                        <option value="${p.wpid}">${p.waterName}</option>
                    </c:forEach>
                </select>
            </div>
        </div>
        <!-->

        <div class="layui-form-item">
            <label for="uname" class="layui-form-label">
                <span class="x-red">*</span>安装员名字
            </label>
            <div class="layui-input-inline">
                <select id="uname" name="uname" required="" class="layui-input">
                    <c:forEach var="x" items="${userx}">
                    <option value="${x.uid}">${x.uname}</option>
                    </c:forEach>
                </select>

            </div>
        </div>
        <!-->


        <div class="layui-form-item">
            <input type="submit" value="提交" id="one"/>
        </div>
    </form>
</div>

</body>
</html>
